-- GENERATED SPELL FOR [High Priest Naferset] --


function spell0_26076(pUnit, Event) --@Mind Blast,n/a--
pUnit:FullCastSpellOnTarget(15587,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26076', 1500, 1)
end

function spell1_26076(pUnit, Event) --@Renew,Heal--
pUnit:FullCastSpellOnTarget(11640,pUnit)
pUnit:RegisterEvent('Sorts_26076', 15000, 1)
end

function Sorts_26076(pUnit, Event)
local choix_sorts_26076 = math.random(0, 1)
if choix_sorts_26076 == 0 then
pUnit:RegisterEvent('spell0_26076', 1, 1)
end
if choix_sorts_26076 == 1 then
pUnit:RegisterEvent('spell1_26076', 1, 1)
end
end

function mob26076_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26076', math.random(1500, 3000), 1)
end

function mob26076_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26076_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26076_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26076, 1, 'mob26076_Action')
RegisterUnitEvent(26076, 2, 'mob26076_Leave')
RegisterUnitEvent(26076, 3, 'mob26076_Kill')
RegisterUnitEvent(26076, 4, 'mob26076_Die')
